/*
 * task_scheduler.cpp
 *
 *  Created on: 2014. 4. 3.
 *      Author: wooyoung
 */

#include "task_scheduler.h"

TaskScheduler::TaskScheduler()
: BaseTaskScheduler()
{
}

TaskScheduler::~TaskScheduler()
{

}

void TaskScheduler::dowork()
{
	BaseTaskFormat* form = new BaseTaskFormat(2,0x01,NULL);
	this->order_queue_->push(form);
	delete form;
	BaseTaskFormat* retn = this->order_queue_->top();
	std::cout<<retn->get_command_id()<<std::endl;
	//printf("%d", BaseTaskScheduler<type>::order_queue_.size());
}
